package com.kingdee.eas.scm.sm.pur;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.bos.metadata.entity.SorterItemCollection;
import com.kingdee.bos.util.*;
import com.kingdee.bos.metadata.entity.FilterInfo;
import com.kingdee.eas.scm.common.ISDSMBillBase;
import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.framework.*;
import com.kingdee.jdbc.rowset.IRowSet;

public interface IPurContract extends ISDSMBillBase
{
    public boolean exists(IObjectPK pk) throws BOSException, EASBizException;
    public boolean exists(FilterInfo filter) throws BOSException, EASBizException;
    public boolean exists(String oql) throws BOSException, EASBizException;
    public PurContractInfo getPurContractInfo(IObjectPK pk) throws BOSException, EASBizException;
    public PurContractInfo getPurContractInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public PurContractInfo getPurContractInfo(String oql) throws BOSException, EASBizException;
    public IObjectPK addnew(PurContractInfo model) throws BOSException, EASBizException;
    public void addnew(IObjectPK pk, PurContractInfo model) throws BOSException, EASBizException;
    public void update(IObjectPK pk, PurContractInfo model) throws BOSException, EASBizException;
    public void updatePartial(PurContractInfo model, SelectorItemCollection selector) throws BOSException, EASBizException;
    public void updateBigObject(IObjectPK pk, PurContractInfo model) throws BOSException;
    public void delete(IObjectPK pk) throws BOSException, EASBizException;
    public IObjectPK[] getPKList() throws BOSException, EASBizException;
    public IObjectPK[] getPKList(String oql) throws BOSException, EASBizException;
    public IObjectPK[] getPKList(FilterInfo filter, SorterItemCollection sorter) throws BOSException, EASBizException;
    public PurContractCollection getPurContractCollection() throws BOSException;
    public PurContractCollection getPurContractCollection(EntityViewInfo view) throws BOSException;
    public PurContractCollection getPurContractCollection(String oql) throws BOSException;
    public IObjectPK[] delete(FilterInfo filter) throws BOSException, EASBizException;
    public IObjectPK[] delete(String oql) throws BOSException, EASBizException;
    public void delete(IObjectPK[] arrayPK) throws BOSException, EASBizException;
    public void canRevoke(IObjectPK pk) throws BOSException, EASBizException;
    public void canRevoke(IObjectPK[] pks) throws BOSException, EASBizException;
    public void revoke(IObjectPK pk, String reasonCode) throws BOSException, EASBizException;
    public void revoke(IObjectPK pks, IObjectValue reasonCodes) throws BOSException, EASBizException;
    public void revoke(IObjectPK[] pks, String[] reasonCodes) throws BOSException, EASBizException;
    public void revoke(IObjectPK[] pks, IObjectValue[] reasonCodes) throws BOSException, EASBizException;
    public void checkAlert(IObjectPK pk) throws BOSException, EASBizException;
    public void audit(IObjectPK[] pks) throws BOSException, EASBizException;
    public void alter(IObjectPK pk, PurContractInfo model) throws BOSException, EASBizException;
    public void agreeAlter(IObjectPK pk) throws BOSException, EASBizException;
    public void disaccordAlter(IObjectPK pk) throws BOSException, EASBizException;
    public void unAudit(IObjectPK pk) throws BOSException, EASBizException;
    public void unAudit(IObjectPK[] pks) throws BOSException, EASBizException;
    public IRowSet filtrateMGroup() throws BOSException;
}